The function ATSUCompareStyles passes back a constant of type ATSUStyleComparison to indicate whether two style objects are the same, different, or a subset of one another.
enum {
kATUStyleUnequal = 0,
ATSUStyleContains = 1,
kATSUStyleEquals = 2,
kATSUStyleContainedBy = 3
};
typedef Uint16 ATSUStyleComparison;
Constant descriptions
kATUStyleUnequal
Indicates that the contents of the second style object are not equivalent to, contained by, or containing those of the first.
ATSUStyleContains
Indicates that the contents of the second style object are contained by those of the first (excluding pointers and handles to reference constants and custom style run attribute tags).
kATSUStyleEquals
Indicates that the contents of the second style object are equivalent to those of the first (excluding pointers and handles to reference constants and custom style run attribute tags).
kATSUStyleContainedBy
Indicates that the contents of the second style object are contained by those of the first (excluding pointers and handles to reference constants and custom style run attribute tags).